﻿using System;

public static class ExtensionTools {
	public static string[] GetExtensions(ExtensionTypeGroup extTypeGroup) {
		switch (extTypeGroup) {
			case ExtensionTypeGroup.Book: return new[] { ".pdf", ".djvu", ".chm", ".doc", ".docx" };
			case ExtensionTypeGroup.Movie: return new[] { ".mkv", ".avi" };
			case ExtensionTypeGroup.Unity: return new[] { ".unitypackage" };
			default: throw new Exception("Unknown extension group type '" + extTypeGroup + "'");
		}
	}
}
